package com.park.model;

import java.io.Serializable;
import java.util.List;

public class Router  implements Serializable {
    private int id;
    private String path;
    private String component;
    private String redirect;
    private String name;
    private boolean alwaysShow;
    private Meta meta;
    private Integer parent_id;
    private List<Router> children;
    private String icon;
    private String title;
    private String desc;
	private String create_time;
    private String update_time;
    private Integer order;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public String getRedirect() {
        return redirect;
    }

    public void setRedirect(String redirect) {
        this.redirect = redirect;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isAlwaysShow() {
        return alwaysShow;
    }

    public void setAlwaysShow(boolean alwaysShow) {
        this.alwaysShow = alwaysShow;
    }

    public Meta getMeta() {
        return meta;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }

    public Integer getParent_id() {
        return parent_id;
    }

    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    public List<Router> getChildren() {
        return children;
    }

    public void setChildren(List<Router> children) {
        this.children = children;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getdesc() {
        return desc;
    }

    public void setdesc(String desc) {
        this.desc = desc;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }
    
    public String getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(String update_time) {
		this.update_time = update_time;
	}

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

	@Override
	public String toString() {
		return "Router [id=" + id + ", path=" + path + ", component=" + component + ", redirect=" + redirect + ", name="
				+ name + ", alwaysShow=" + alwaysShow + ", meta=" + meta + ", parent_id=" + parent_id + ", children="
				+ children + ", icon=" + icon + ", title=" + title + ", desc=" + desc + ", create_time="
				+ create_time + ", update_time=" + update_time + ", order=" + order + "]";
	}

}
